import { v1 } from 'uuid';

export class Element {

    constructor(id) {
        this.id = id || v1();
        this.name = '';
        this.type = '';
        this.state = '';
        this.attr = {};
    }

}